package org.hhw.client;


import org.hhw.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;


@FeignClient(value = "HRM-COMMON", fallbackFactory = SmsClientFallbackFactory.class )//服务提供
@RequestMapping("/sms")
public interface SmsClient {

    //feign如果要传递Map list等需要特殊处理
    @PostMapping
    AjaxResult send(@RequestParam String params);
}
